package at.markusreich.racecalendar.client.service;

import java.util.List;

import at.markusreich.racecalendar.client.model.CalendarEntry;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("calendarService")
public interface CalendarService extends RemoteService {
	List<CalendarEntry> getCalendarEntriesList() throws IllegalArgumentException;
	CalendarEntry getCalendarEntry(String id) throws IllegalArgumentException;
}